 package tools;

 import com.fasterxml.jackson.annotation.JsonCreator;
 import com.fasterxml.jackson.annotation.JsonProperty;
 import java.io.Serializable;
















 public class Pair<E, F>
   implements Serializable
 {
   private static final long serialVersionUID = 9179541993413738569L;
   public E left;
   public F right;

   @JsonCreator
   public Pair(@JsonProperty("left") E left, @JsonProperty("right") F right) {
/*  31 */     this.left = left;
/*  32 */     this.right = right;
   }

   public static <E, F> Pair<E, F> Create(E left, F right) {
/*  36 */     return new Pair<>(left, right);
   }






   public E getLeft() {
/*  45 */     return this.left;
   }






   public F getRight() {
/*  54 */     return this.right;
   }







   public String toString() {
/*  64 */     return this.left.toString() + ":" + this.right.toString();
   }





   public int hashCode() {
/*  72 */     int prime = 31;
/*  73 */     int result = 1;
/*  74 */     result = prime * result + ((this.left == null) ? 0 : this.left.hashCode());
/*  75 */     result = prime * result + ((this.right == null) ? 0 : this.right.hashCode());
/*  76 */     return result;
   }





   public boolean equals(Object obj) {
/*  84 */     if (this == obj) {
/*  85 */       return true;
     }
/*  87 */     if (obj == null) {
/*  88 */       return false;
     }
/*  90 */     if (getClass() != obj.getClass()) {
/*  91 */       return false;
     }
/*  93 */     Pair other = (Pair)obj;
/*  94 */     if (this.left == null) {
/*  95 */       if (other.left != null) {
/*  96 */         return false;
       }
/*  98 */     } else if (!this.left.equals(other.left)) {
/*  99 */       return false;
     }
/* 101 */     if (this.right == null) {
/* 102 */       if (other.right != null) {
/* 103 */         return false;
       }
/* 105 */     } else if (!this.right.equals(other.right)) {
/* 106 */       return false;
     }
/* 108 */     return true;
   }
 }


/* Location:              C:\PGX\Server.jar!\tools\Pair.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */